import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
// import Life from './pages/demo/Life';
import Admin from './admin';
// import Home from './pages/route-demo/router1/Home';
import Router from './router';
import * as serviceWorker from './serviceWorker';

import {Provider} from 'react-redux';
import configStore from './redux/store/configStore';


const store = configStore();


ReactDOM.render(
    <Provider store={store}>
        <Router/>
    </Provider>, document.getElementById('root'));

serviceWorker.unregister();
